module Wondercap
  
  module StringMixin

    def /(arg)
      File.join(self, arg)
    end
    
    def exists?
      File.exists? self
    end
    
    def directory?
      File.directory? self
    end
    
    def file?
      File.file? self
    end
    
    def dirname
      File.dirname self
    end
    
    def basename
      File.basename self
    end

  end
  
end